package com.tinusgraglin.enclusiv.datalayer

sealed class Exceptions {
    class UserNotFound : Exception()
    class WrongPassword : Exception()

    open class VerificationFailure : Exception()
    class VerificationCodeNotMatch : VerificationFailure()
    class VerificationEntryNotExist : VerificationFailure()
    class EmailRegistered : Exception()

    class ArticleNotFound(): Exception()
    class UploadFailure(val uploaded: UInt = 0U): Exception()
}